jade.mtp
Class MTPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jade.mtp.MTPException

public class MTPException
extends java.lang.Exception

Generic exception class for MTP errors.

See Also:
Serialized Form

Constructor Summary
MTPException(java.lang.String msg)
          Constructor for exception class.
MTPException(java.lang.String msg, java.lang.Throwable t)
          Constructor for exception class.
 
Method Summary
 java.lang.Throwable getNested()
          Reads the exception wrapped by this object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MTPException

public MTPException(java.lang.String msg)
Constructor for exception class.
Parameters:
msg - A message detailing the cause of the exception.

MTPException

public MTPException(java.lang.String msg,
                    java.lang.Throwable t)
Constructor for exception class.
Parameters:
msg - A message detailing the cause of the exception.
t - The exception wrapped by this object.
Method Detail

getNested

public java.lang.Throwable getNested()
Reads the exception wrapped by this object.
Returns:
the Throwable object that is the exception thrown by the concrete MTP subsystem.